fix(table): updated nested sticky header example with isBorderRow tr#12527
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe nested sticky header example now renders inside a fixed-height wrapper. The nested column header documentation adds a note that sticky headers need an extra ChangesNested sticky header example and docs note
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@packages/react-table/src/components/Table/examples/TableNestedStickyHeader.tsx`:
- Line 164: The TableNestedStickyHeader example has a stray literal backslash
between cells inside the row, which leaves an extra text node in the rendered
output. Remove the trailing backslash from the `<Tr>` content in the
`TableNestedStickyHeader` example so the row only contains the intended `<Td>`
elements.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 8c71f6ba-7348-450e-85e0-4fba8c8d95cb
📒 Files selected for processing (2)
packages/react-table/src/components/Table/examples/Table.mdpackages/react-table/src/components/Table/examples/TableNestedStickyHeader.tsx
|
Preview: https://pf-react-pr-12527.surge.sh A11y report: https://pf-react-pr-12527-a11y.surge.sh |
Updates the nested sticky header docs and example to have
<Tr isBorderRow>, which is required for sticky, nested column header tables.Summary by CodeRabbit
Documentation
Bug Fixes